﻿using System;
using System.Data;
using System.Configuration;
using System.Web;
using System.Web.Security;
using System.Web.UI;
using System.Web.UI.HtmlControls;
using System.Web.UI.WebControls;
using System.Web.UI.WebControls.WebParts;

/// <summary>
/// Summary description for AppConfig
/// </summary>
public class AppConfig
{
    public AppConfig()
    {
        //
        // TODO: Add constructor logic here
        //


    }
    public static Guid MinistryAdminRoleID
    {
        get
        {
            if (Wicresoft.Common.Configuration.ConfigurationSettings.AppSettings["MinistryAdminRoleID"] != null)
            {
                return new Guid(Wicresoft.Common.Configuration.ConfigurationSettings.AppSettings["MinistryAdminRoleID"]);
            }
            return new Guid("97123166-87b0-4d82-a3ee-0e25da15f0dd");
        }
    }
    public static Guid OrganizeAdminRoleID
    {
        get
        {
            if (Wicresoft.Common.Configuration.ConfigurationSettings.AppSettings["OrganizeAdminRoleID"] != null)
            {
                return new Guid(Wicresoft.Common.Configuration.ConfigurationSettings.AppSettings["OrganizeAdminRoleID"]);
            }
            return new Guid("18b94c55-b88b-420b-bd97-d7b92bf1ff25");
        }
    }
    public static Guid TrainMemberRoleID
    {
        get
        {
            if (Wicresoft.Common.Configuration.ConfigurationSettings.AppSettings["TrainMemberRoleID"] != null)
            {
                return new Guid(Wicresoft.Common.Configuration.ConfigurationSettings.AppSettings["TrainMemberRoleID"]);
            }
            return new Guid("67e59eda-3795-4ecc-9659-d345f7b1825e");
        }
    }
    public static Guid DistributorRoleID
    {
        get
        {
            if (Wicresoft.Common.Configuration.ConfigurationSettings.AppSettings["Distributor"] != null)
            {
                return new Guid(Wicresoft.Common.Configuration.ConfigurationSettings.AppSettings["Distributor"]);
            }
            return new Guid("67e59eda-3795-4ecc-9659-d345f7b1825e");
        }
    }
    
    public static string Leaders
    {
        get
        {
            if (Wicresoft.Common.Configuration.ConfigurationSettings.AppSettings["Leaders"] != null)
            {
                return  Wicresoft.Common.Configuration.ConfigurationSettings.AppSettings["Leaders"];
            }
            return string.Empty;
        }
    }


    
}
